#ifndef _FTYPE_H_
#define _FTYPE_H_

#include <stdint.h>
#include <vector>
#include "FFlags.h"

class FPodReader;
class FField;
class FMethod;


/**
 * TODOC
 */
class FType
{
public:
  void readMeta(FPodReader& reader);
  void readCode(FPodReader& reader);

  uint16_t self;
  uint16_t base;
  std::vector<uint16_t> mixins;
  FFlags flags;
  std::vector<FField> fields;
  std::vector<FMethod> methods;
};


#endif
